<!-- isNAN()这个方法用来判断非数字  并且返回一个值，如过是数字返回false,不是就是true
 -->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        console.log(isNaN(12));  /* 是数字返回false */
        console.log(isNaN('pink'));  //不是数字返回true
    </script>
</head>

<body>

</body>

</html>